﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Cabecera.Master" CodeBehind="ControlMenuOpciones.aspx.vb" Inherits="SCHC.ControlMenuOpciones"
Culture="es-AR" UICulture="Auto"%>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="Scripts/jquery-1.5.1.min.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" runat="server" contentplaceholderid="ContenedorDePagina">

            
        <br />
        <br />

       
       <asp:Panel ID="P_agregar" BorderColor ="Black" style="top:250px" 
            BorderWidth="1px"  Width ="500px" runat="server">
           <h5>Agregar Opciones al Menu </h5>
            <table>
                <tr>
                    <td>
                        MenuID
                    </td>
                    <td>
                        <asp:TextBox  style=" text-align :center " ID="txtMenuID"  MaxLength="2" Width="50px" runat="server"></asp:TextBox>                       
                    </td>
                </tr>
                <tr>
                   <td>
                        Descripcion
                   </td> 
                   <td>
                       <asp:TextBox ID="txtDescripcion" Width="200px" runat="server"></asp:TextBox> 
                   </td>
                </tr>                
                <tr>
                   <td>
                        PadreID
                   </td> 
                   <td>
                       <asp:TextBox ID="txtPadreID" runat="server" />
                   </td>
                </tr>
                <tr>
                   <td>
                        Posicion
                   </td> 
                   <td>
                       <asp:TextBox style=" text-align :center " ID="txtPosicion" runat="server" Width="50px" MaxLength="2"></asp:TextBox> 
                   </td>
                </tr>
                <tr>
                   <td class="style1">
                        URL
                       
                   </td> 
                   <td >                        
                        <asp:TextBox ID="txtURLPagina" runat="server" Width="283px" 
                            style="top: 358px; left: 91px; " Height="24px" Enabled="False"></asp:TextBox>  
                            <asp:Button id="btnPagina" runat="server" Text="Setear Pagina"/>
                            <asp:FileUpload ID="FileUpload1" runat="server" accept="aspx"  />                             
                   </td>
                    
                    
                </tr>
                
                <tr>
                   <td>
                        PerfilID
                   </td> 
                   <td>
                       <asp:DropDownList ID="cboPerfilID" runat="server" Width="150px"></asp:DropDownList>
                   </td>
                </tr>

                <tr>
                    <td colspan="2">
                        <asp:Label ID="lblMsjeDeErrorAlagregarEspc" runat="server" Text=""></asp:Label>

                    </td>
                </tr>
                <tr>
                    <td>
                    <asp:Button ID="btnGrabar" runat="server" Text="Grabar" />
                    </td>
                    <td>
                    <asp:Button ID="Button1" runat="server" Text="LimpiarControles" />
                    </td>                        
                </tr>
            </table>
       </asp:Panel>
        
        <br />
        <br />
  

      
<div style="overflow:auto; width:66%; height:504px; z-index: 1; left: 538px; top: 265px; position: absolute;"> 
        <asp:Label ID="lblCount" runat="server" Text=""></asp:Label>
        <asp:GridView ID="gvMenuOpciones" runat="server" CellPadding="3" ForeColor="#333333" 
            GridLines="None" CaptionAlign="Left" PageSize="11" 
            style="text-align: center; background-color:transparent;" 
            AllowPaging="True" CellSpacing="1" CssClass="mGrid">
		                    <FooterStyle CssClass="Footer" />
		                    <RowStyle CssClass="Row" />    
		                    <SelectedRowStyle CssClass="SelectedRow" />
		                    <PagerStyle CssClass="pgr" />
		                    <AlternatingRowStyle CssClass="Alt" />
		                    <HeaderStyle CssClass="Header" />
            <Columns>
                <asp:CommandField ShowSelectButton="True" SelectText="Modificar" />
                <asp:CommandField ButtonType="Image" DeleteImageUrl="~/Imagenes/eliminar.jpg" 
                    ShowDeleteButton="True" />
            </Columns>
        </asp:GridView>
</div> 


</asp:Content>

